//
//  BJBaseViewController.h
//  BaoJunNewEnergy
//
//  Created by 9s on 2018/3/15.
//  Copyright © 2018年 SIXECO. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BJBaseViewController : UIViewController<UIGestureRecognizerDelegate>
@property(nonatomic,assign)NSInteger page; //PageView的页数

@property(nonatomic,assign)NSInteger index;

@property (nonatomic,assign) BOOL isConnectNetwork;

- (void)setLeftButton:(NSString*)buttonTitle titleImage:(NSString *)TitleImage action:(SEL)action;

//自定义NavgationBar右侧按钮
- (UIButton *)setRightButton:(NSString*)buttonTitle titleImage:(NSString *)TitleImage action:(SEL)action;

//导航栏左边按钮 可重写事件 返回按钮
- (void)leftReturn:(UIButton *)sender;

- (void)setNavigationBarBackGroundWithImage:(UIImage *)image;

- (void)setNavigationBarBackGroundWithColor:(UIColor *)color;

@end
